/**
 *
 */
package com.wedroid.api.service;

import java.util.List;

import com.demo2do.core.support.Page;
import com.wedroid.entity.contact.Contacter;
import com.wedroid.entity.message.Message;

/**
 * @author lute
 */
public interface MessageService {

    /**
     * @param contacter
     * @return
     */
    public int countMessages(Contacter contacter);

    /**
     * @param contacter
     * @param page
     * @return
     */
    public List<Message> listMessages(Contacter contacter, Page page);

}
